package com.yin.project.admin.rbac.model;

import com.yin.project.admin.framework.DataEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Eason on 2016/11/24.
 */
@Entity
@Table(name = "menu")
public class MenuEntity extends DataEntity {
    /*菜单编码*/
    @Column(name = "MenuCode")
    private String menuCode;
    /*菜单名称*/
    @Column(name = "MenuName")
    private String menuName;
    /*父菜单ID*/
    @Column(name = "Parent")
    private String parent;
    /*菜单Url*/
    @Column(name = "Url")
    private String url;
    
    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
    
}
